/*******************************************************************
 *                                                                 *
 *  mcotime.h                                                          *
 *                                                                 *
 *  This file is a part of the eXtremeDB source code               *
 *  Copyright (c) 2001-2012 McObject LLC                           * 
 *  All Rights Reserved                                            *
 *                                                                 *
 ***************************************************************** */
#ifndef MCO_MCOTIME_H__
#define MCO_MCOTIME_H__

#ifdef __cplusplus
extern "C"
{
#endif 
    /**
     * Operating system independent timer prototype to assure that timeouts and stream parameters 
     * are measured in the same units. 
     */
    typedef long timer_unit; 
    timer_unit mco_system_get_current_time(void);

    #define MCO_TM_INFINITE ((timer_unit) -1)


#ifdef __cplusplus
}
#endif 

#endif
    
